package com.yyjj.yyjj.acl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yyjj.yyjj.model.acl.Permission;

import java.util.List;
import java.util.Map;

public interface PermissionService extends IService<Permission> {

    List<Permission> queryAllPermission();


    void removeChildById(Long id);

    Map<String, Object> findPermissionByRoleId(Long roleId);

    void saveRolePermissionRealtionShip(Long roleId, Long[] permissionId);
}
